package com.softa.common.sysconfig.mybatis.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

/**
 * Soft Delete support.
 * 
 * @author panda
 *
 */
@Data
public abstract class AbstractDeletedSupportedEntity extends AbstractAuditingAwareEntity {

    @TableLogic
    @TableField(value="deleted",strategy= FieldStrategy.NOT_NULL,fill= FieldFill.INSERT)
    private Boolean deleted;

}
